s = "My house is full of toys"
# 获取字符串的列表
res = s.split()
# word_list = list()
word_list = [word[0] for word in res]
# for word in res:
#     word_list.append(word[0])
print(f"{word_list}")